import request from '@/plugins/request';

// 项目域名列表
export function vpsvpsvpsprojectlist(data) {
    return request({
        url: '/v1/vps/vps/vps-project-list',
        method: 'get',
        params: data
    });
}

// 项目域名添加
export function vpsvpsvpsprojectadd(data) {
    return request({
        url: '/v1/vps/vps/create',
        method: 'post',
        data
    });
}

// 项目域名修改
export function vpsvpsvpsprojectupdate(data) {
    return request({
        url: '/v1/vps/vps/update',
        method: 'post',
        data
    });
}
// 项目管理列表
export function projectList(data) {
    return request({
        url: 'v1/base/project/list',
        method: 'get',
        params: data
    });
}
// 项目管理新增
export function projectCreate(data) {
    return request({
        url: 'v1/base/project/create',
        method: 'post',
        data
    });
}
// 项目管理编辑
export function projectUpdate(data) {
    return request({
        url: 'v1/base/project/update',
        method: 'post',
        data
    });
}
// 项目管理删除
export function projectDelete(data) {
    return request({
        url: 'v1/base/project/delete',
        method: 'post',
        data
    });
}
// 项目列表
export function projectindex(data) {
    return request({
        url: 'v1/base/project/index',
        method: 'get',
        params: data
    });
}
// 项目管理员列表
export function managermemberList(data) {
    return request({
        url: '/v1/rbac/member/manager-member-list',
        method: 'get',
        params: data
    });
}
// 添加管理员
export function createDmanager(data) {
    return request({
        url: '/v1/rbac/member/create-manager',
        method: 'post',
        data
    });
}
// 获取添加管理员筛选信息
export function createmanagerInfo(data) {
    return request({
        url: '/v1/rbac/member/create-manager-info',
        method: 'get',
        params: data
    });
}
// 输入手机号获取姓名
export function searchmemberInfo(data) {
    return request({
        url: '/v1/rbac/member/search-member-info',
        method: 'get',
        params: data
    });
}